import request from "@/utils/request";

//判断是否为会员
export const checkMemberAccount = param => request.get('/user/member/judgeMemberOrNot/' + param)
//获取会员列表
export const getMemberByPage = (current, limit) => request.get('/user/member/findPage/' + current + '/' + limit)
//通过手机号获取会员信息
export const getMemberByPhone = phone => request.get('/user/member/findByPhone/' + phone)
//创建新会员
export const saveNewMember = param => request.post('/user/member/saveUser', param)
//修改会员信息
export const updateMember=member=>request.put('/user/member/updateInfo',member)